import { getRequest, postRequest, putRequest, deleteRequest } from '@/utils/request';

// 设备机型
export const spinMachineModelCreate = (data) => postRequest('/spin/machine-model/create', data);
export const spinMachineModelUpdate = (data) => putRequest('/spin/machine-model/update', data);
export const spinMachineModelDelete = (params) => deleteRequest('/spin/machine-model/delete', params);
export const spinMachineModelGet = (params) => getRequest('/spin/machine-model/get', params);
export const spinMachineModelPage = (params) => getRequest('/spin/machine-model/page', params);
export const productionIotMachineGetSingleByProcessModel = (params) => getRequest('/production/iot-machine/get-single-by-process-model', params);
